package com.quarters.service;

import com.quarters.bean.Quarters;
import com.baomidou.mybatisplus.extension.service.IService;
import com.quarters.bean.UserInfo;
import com.quarters.bean.layuiBean.ResultPage;
import com.quarters.bean.layuiBean.VoPage;
import com.quarters.bean.ztree.ZtreeBean;

import java.util.List;

/**
 * <p>
 * 小区表 服务类
 * </p>
 *
 * @author 冯政尚
 * @since 2019-09-02
 */
public interface QuartersService extends IService<Quarters> {

    /**
     * @param voPage
     * @return 后台查询
     */
    ResultPage<Quarters> selectMyPage(VoPage voPage,String quartersName);


    /**
     * @param userId
     * @return 根据对应的角色查询对应的小区
     */
    List<ZtreeBean> llist (Long userId);
    List<ZtreeBean> allQuarters ();
}
